/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ac.za.cput.assertingArrays.Impl;

import ac.za.cput.assertingArrays.AssertingArray;

/**
 *
 * @author Enkosi
 */
public class AssertingArraysImpl implements AssertingArray{

    @Override
    public int populate(int[] list1, int[] list2) {
        int sum = 0;
        for(int i =1; i <4; i++){
            list1[i]=i;
            list2[i]=i;
            sum += list1[i] + list2[i];
        }
        return sum;
    }
    
}
